home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •The School House• / QuizMaster v.10 ••• / QuizMaster V1.0 / QuizMaster V1.0.rsrc / CODE_8184_SetDialogText.txt < prev    next >
Text File  |  1988-10-21  |  4KB  |  70 lines

  1. # near model CODE resource
  2. # jump table entries: 0-0 (1 of them)
  3. 00000000  4EAD 002A                jsr        [A5 + 0x2A /* export_1 */]
  4. 00000004  0C40 0004                cmpi.w     D0, 0x4
  5. 00000008  6600 0096                bne        +0x98 /* 000000A0 */
  6. 0000000C  2812                     move.l     D4, [A2]
  7. 0000000E  4EAD 002A                jsr        [A5 + 0x2A /* export_1 */]
  8. 00000012  0C00 0003                cmpi.b     D0, 0x3
  9. 00000016  6600 0088                bne        +0x8A /* 000000A0 */
  10. 0000001A  3A12                     move.w     D5, [A2]
  11. 0000001C  4EAD 002A                jsr        [A5 + 0x2A /* export_1 */]
  12. 00000020  0C00 0002                cmpi.b     D0, 0x2
  13. 00000024  667A                     bne        +0x7C /* 000000A0 */
  14. 00000026  264A                     movea.l    A3, A2
  15. 00000028  4EAD 0082                jsr        [A5 + 0x82 /* export_12 */]
  16. 0000002C  4EAD 008A                jsr        [A5 + 0x8A /* export_13 */]
  17. 00000030  3602                     move.w     D3, D2
  18. 00000032  0C43 0100                cmpi.w     D3, 0x100
  19. 00000036  6A00 0062                bpl        +0x64 /* 0000009A */
  20. 0000003A  2F04                     move.l     -[A7], D4
  21. 0000003C  3F05                     move.w     -[A7], D5
  22. 0000003E  487A 006A                pea.l      [PC + 0x6A /* 000000AA, value 0x0, cstring "" */]
  23. 00000042  487A 0068                pea.l      [PC + 0x68 /* 000000AC, value 0x0, cstring "" */]
  24. 00000046  487A 0068                pea.l      [PC + 0x68 /* 000000B0, value 0x0, cstring "" */]
  25. 0000004A  A98D                     syscall    GetDialogItem/GetDItem
  26. 0000004C  303A 005C                move.w     D0, [PC + 0x5C /* 000000AA, value 0x0, cstring "" */]
  27. 00000050  0880 0007                bclr.b     D0, 0x7
  28. 00000054  0C00 0010                cmpi.b     D0, 0x10
  29. 00000058  6706                     beq        +0x8 /* 00000060 */
  30. 0000005A  0C00 0008                cmpi.b     D0, 0x8
  31. 0000005E  6630                     bne        +0x32 /* 00000090 */
  32. label00000060:
  33. 00000060  203C 0000 0100           move.l     D0, 0x100
  34. 00000066  A11E                     syscall    NewPtr, flags=1
  35. 00000068  4A40                     tst.w      D0
  36. 0000006A  6628                     bne        +0x2A /* 00000094 */
  37. 0000006C  2848                     movea.l    A4, A0
  38. 0000006E  2248                     movea.l    A1, A0
  39. 00000070  1283                     move.b     [A1], D3
  40. 00000072  D3FC 0000 0001           add.l      A1, 0x1
  41. 00000078  4280                     clr.l      D0
  42. 0000007A  1003                     move.b     D0, D3
  43. 0000007C  204B                     movea.l    A0, A3
  44. 0000007E  A02E                     syscall    BlockMove/BlockMoveData
  45. 00000080  2F3A 002A                move.l     -[A7], [PC + 0x2A /* 000000AC, value 0x0, cstring "" */]
  46. 00000084  2F0C                     move.l     -[A7], A4
  47. 00000086  A98F                     syscall    SetDialogItemText/SetIText
  48. 00000088  204C                     movea.l    A0, A4
  49. 0000008A  A01F                     syscall    DisposPtr/DisposePtr
  50. 0000008C  7000                     moveq.l    D0, 0x00
  51. 0000008E  4E75                     rts
  52. label00000090:
  53. 00000090  7405                     moveq.l    D2, 0x05
  54. 00000092  6010                     bra        +0x12 /* 000000A4 */
  55. label00000094:
  56. 00000094  343C 000E                move.w     D2, 0xE
  57. 00000098  600A                     bra        +0xC /* 000000A4 */
  58. label0000009A:
  59. 0000009A  343C 000F                move.w     D2, 0xF
  60. 0000009E  6004                     bra        +0x6 /* 000000A4 */
  61. label000000A0:
  62. 000000A0  343C 000D                move.w     D2, 0xD /* '\r' */
  63. label000000A4:
  64. 000000A4  7000                     moveq.l    D0, 0x00
  65. 000000A6  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  66. 000000AA  0000 0000                ori.b      D0, 0x0
  67. 000000AE  0000 0000                ori.b      D0, 0x0
  68. 000000B2  0000 0000                ori.b      D0, 0x0
  69. 000000B6  0000                     .incomplete
  70.